<? include("include/session.php"); ?>
<?php
$pizzaid= $_POST['bestellen'];

mysql_connect ('localhost', 'deb46160', 'd3e01tGF') or die ('Error: ' .mysql_error());
mysql_select_db ("deb46160_PizzaRio");

$query="INSERT INTO `Orderregel` (`pizzaid`, `ordernr`) VALUES ('".$pizzaid."', '".$_SESSION['orderid']."')";
mysql_query($query) or die ('Error submitting ' . mysql_error());
$page = "samenstellen3.php";
header("Refresh: 1; URL=\"" . $page . "\"");  
?>